package vista;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import negocio.Inicializar;


public class MenuInicial {
	
	public void listar(){
		System.out.println("");
	}
	
	public void seteoMetas(){
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String s = null;
	
		System.out.println("Ingrese nombre: ");
		try {
			s = br.readLine();
			Inicializar.setearNombre(s);
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println("Ingrese metas: ");
		System.out.println("Ingrese Riqueza: ");
		try {
			s = br.readLine();
			Inicializar.setearMetas("riqueza", Integer.parseInt(s));
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		System.out.println("Ingrese Felicidad: ");
		try {
			s = br.readLine();
			Inicializar.setearMetas("felicidad", Integer.parseInt(s));

		} catch (IOException e) {
			e.printStackTrace();
		}System.out.println("Ingrese Carrera Laboral: ");
		try {
			s = br.readLine();
			Inicializar.setearMetas("carrera laboral", Integer.parseInt(s));

		} catch (IOException e) {
			e.printStackTrace();
		}System.out.println("Ingrese Educacion: ");
		try {
			s = br.readLine();
			Inicializar.setearMetas("educacion", Integer.parseInt(s));

		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
